home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr12
/
cnet9306.zip
/
COLLNET.SCR
< prev
next >
Wrap
Text File
|
1993-06-03
|
3KB
|
137 lines
; Qmodem Script file to make mail runs for CollNet(tm).
;
; Edit these settings as you need.
Graphics ANSI
TurnOFF ECHO
TurnON 8_BIT
TurnOFF LINEFEED
TurnON XON/XOFF
TurnON NOISE
TurnOFF MUSIC
TurnON SCROLL
TurnOFF PRINT
TurnOFF SPLIT
TurnON STATUSLN
TurnOFF DOORWAY
; Variables
String QWKFILE REPFILE QWKPATH REPPATH TELNUM LIMIT
String XFER NAME HOSTNAME INITIAL
; Initialize Variables EDIT THESE VARIABLES AS NECESSARY
Assign HOSTNAME "NJ Computer Connection" ;Hub Name
Assign QWKFILE NJCC.QWK ;QWK file name
Assign REPFILE NJCC.REP ;REP file name
Assign QWKPATH C:\PCB\QNET3\QWK\ ;Path where QWK file will
;be downloaded to.
Assign REPPATH C:\PCB\QNET3\REP\ ;Path to REP file location
Assign XFER Z ;Tranfer protocol
Assign NAME "FIRST LAST PASS" ;Edit with your first and
;last names and password.
Assign TELNUM "ATDT 895-0398^M" ;The telephone number.
Assign LIMIT 30 ;# of times to dial
Assign INITIAL "ATZ^M" ;Modem Init String
SetComm 38400 8 NONE 1 ;Comm Parameters
;Init the modem
INIT:
Delay 1000
ASSIGN 0 $LIMIT
ClrScr
Display "Initializing Modem"
Delay 1000
Send "$INITIAL"
Waitfor "OK"
;Call the board
GETON:
When
When "BUSY" AGAIN
When "NO DIAL TONE" AGAIN
When "NO CARRIER" AGAIN
Pause 2000
Decr 0
If "$0" < "1" GETOUT
Timeout 75 GETON
ClrScr
Displayln "Attempting to connect with $HOSTNAME"
Displayln "Dial attempts left are $0"
Displayln "Dial String: $TELNUM"
Delay 100
Send "$TELNUM"
Waitfor "CONNECT"
goto ONTHESYSTEM
AGAIN:
Pause 1000
Send "ATH1^M"
Pause 9000
Goto GETON
;When connected to the system
ONTHESYSTEM:
Waitfor "first name?"
Send "$NAME^M"
Waitfor "[Y]"
Send "^M"
WHEN "NO CARRIER" GETOUT
;Upload replies
UPSECTION:
WHEN
WHEN "NO CARRIER" GETOUT
WAITFOR "TOMCAT MENU"
Delay 100
Exist $REPPATH$REPFILE SENDEM
Goto DOWNSECTION
SENDEM:
SEND "U^M"
Delay 100
Waitfor "Start"
Pause 1000
Upload $XFER $REPPATH$REPFILE
When "Transfer UNSUCCESFUL!" UPSECTION
DOS "DEL $REPPATH$REPFILE"
;Download the QWK file
DOWNSECTION:
DL:
Waitfor "TOMCAT MENU"
Delay 100
Send "D^M"
When
When "to download!" ALLDONE
When "NO CARRIER" GETOUT
WaitFor "oodbye when done"
Delay 1000
Send "Y^M"
When
When "Insufficient time" ALLDONE
WaitFor "Start"
Delay 100
Download $XFER $QWKPATH$QWKFILE
Delay 2000
;DONE
ALLDONE:
Waitfor "TOMCAT MENU"
Delay 100
Send "G^M"
Pause 5000
GETOUT:
Hangup
Send "ATZ^M^~^~^~^~^~^~ATH1M0^M"
System Y
Exit